package pms.contract.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import pms.contract.ContractManager;
import pms.contract.dao.ContractDao;
import pms.contract.domain.Contract;
import pms.contract.service.Impl.GenericManagerImpl;

@Component
public class ContractManagerImpl extends GenericManagerImpl<Contract,Long> implements ContractManager{
	
	ContractDao contractDao;
	
	@Autowired
	public void setContractDao(ContractDao contractDao) {
		this.contractDao=contractDao;
		
		this.dao=this.contractDao;
	}

	/*public List<Contract> findAll(){
		
		return null;
		
	}*/
	@Override
	public Contract findByUserid(Long userid) {
		// TODO Auto-generated method stub
		return null;
	}
}
